<?php
// +----------------------------------------------------------------------
// | ManniuRead
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://manniuyun.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: heitao <read@manniuyun.com>
// +----------------------------------------------------------------------

namespace app\book\controller\admin;

use app\book\base\BookAdminBase;

class FeaturedFirst extends BookAdminBase{
    //当前控制器菜单
    public $submenu = [];

    /**
     * TP初始化方法
     */
    public function _initialize() {
        parent::_initialize();
        $this->submenu[] = ['title' => '推荐位列表', 'url' => url('book/admin.index/index'), 'icon' => '&#xe60a;'];
        $this->submenu[] = ['title' => '添加推荐位', 'url' => url('book/admin.index/add'), 'icon' => '&#xe654;'];
    }

    /**
     * 推荐位列表
     * @access public
     * @return \think\Response
     */
    public function index(){
        halt('推荐位列表');
    }
}